package com.zillion.health.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zillion.common.annotation.Excel;
import com.zillion.common.core.domain.BaseEntity;

/**
 * 从业人员配置对象 health_config
 * 
 * @author zillion
 * @date 2025-06-12
 */
public class HealthConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 园区/医院id */
    @Excel(name = "园区/医院id")
    private Long deptId;

    /** 键名 */
    @Excel(name = "键名")
    private String key;

    /** 值 */
    @Excel(name = "值")
    private String value;

    /** 配置说明 */
    @Excel(name = "配置说明")
    private String desc;

    /** 启用状态:0='未启用',1='启用' */
    @Excel(name = "启用状态:0='未启用',1='启用'")
    private Long usable;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setKey(String key) 
    {
        this.key = key;
    }

    public String getKey() 
    {
        return key;
    }

    public void setValue(String value) 
    {
        this.value = value;
    }

    public String getValue() 
    {
        return value;
    }

    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }

    public void setUsable(Long usable) 
    {
        this.usable = usable;
    }

    public Long getUsable() 
    {
        return usable;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("key", getKey())
            .append("value", getValue())
            .append("desc", getDesc())
            .append("usable", getUsable())
            .toString();
    }
}
